PacletDirectoryUnload
PacletDirectoryUnload[dir] makes paclets in dir no longer visible in the current session.
PacletDirectoryUnload[{dir1,dir2, …}] makes paclets in all the diri no longer visible in the current session.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.